<script type="module">
import ajax from './ajax.js'

const url = './myjson.json'
// const url = './myjson.json1'
// const url = './笔记.md'

ajax(url)
  .then(json => console.log(json))
  .catch(e => console.log(e))
</script>